From: Eli Zaretskii Date: Sat, 7 Mar 2009 15:28:58 +0000 (+0000) Subject: (woman-mode): Restore tab-width value after the call to Man-mode, since X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1373 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f6615efa719ee176006857987b7c42e3922b44ee;p=emacs.git (woman-mode): Restore tab-width value after the call to Man-mode, since Man-mode resets it to the default, and that makes right margin extend beyond woman-fill-column. --- diff --git a/lisp/woman.el b/lisp/woman.el index 5fbb5ef6fdb..b7b856c9b08 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -1949,7 +1949,8 @@ See `Man-mode' for additional details." (fset 'Man-build-page-list Man-build-page-list) (fset 'Man-strip-page-headers Man-strip-page-headers) (fset 'Man-unindent Man-unindent) - (fset 'Man-goto-page Man-goto-page))) + (fset 'Man-goto-page Man-goto-page) + (setq tab-width woman-tab-width))) (setq major-mode 'woman-mode mode-name "WoMan") ;; Don't show page numbers like Man-mode does. (Online documents do